const apis = {
  // 正式环境
  production: {
    business: 'https://exam.cabplink.com/jiangongshe',
  },
  // 测试环境
  development: {
    business: 'https://examcs.cabplink.com/jiangongshe',
  }
}

const API_ENV = process.env.VUE_APP_ENV || 'development'

export const getBaseUrl = (system = 'business') => {
  return apis[API_ENV][system]
}
